package com.mall4j.cloud.api.coupon.constant;

import com.fasterxml.jackson.annotation.JsonValue;

// 优惠卷来源类型: 平台劵，商家劵
public enum CouponPlatformType {
    PLATFORM(0),
    SHOP(1);

    public Integer getValue() {
        return value;
    }

    private final Integer value;
    @JsonValue

    public Integer value() {
        return value;
    }

    CouponPlatformType(Integer value) {
        this.value = value;
    }
}
